class CreateUser < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string  :fullname,  :limit=>20
      t.string  :username,  :limit=>15
      t.string  :email,     :limit=>50
      t.string  :verifycode,:limit=>40
      t.boolean :is_verified
      t.datetime  :last_attempt
      t.integer :signin_counter
      t.timestamps
    end
  end
  
  def self.down
    drop table :users
  end
end
